<template>
    <div>
        <template v-if="action == 'edit' || action == 'search' ">
            <lar-field-select v-model="myValue" :action="action" :fieldLink="fieldLink"
                              :fieldKey="fieldKey"></lar-field-select>
        </template>
        <template v-if="action == 'table'">
            <div>
                {{(data.acreage / 1000000).toFixed(2)}}km<sup>2</sup>
            </div>
        </template>
    </div>
</template>
<script>
    import base from '../base.js';

    export default {
        extends: base,
        props: {},
        data() {
            return {
                searchModel: 'range',
            }
        },
    }
</script>
<style>
</style>
